﻿@namespace CyssBlazor.Shared.Components
@inherits BaseComponent
<style>
    .contextmenu {
        position: fixed !important;
    }
</style>
<div class="dropdown " style="display: initial" @ref="Element">
    <div class="dropdown-menu contextmenu" data-popper-placement="bottom-start">
        @if (IsShowCopyButton)
        {
            <ContextMenuItem Text="复制" OnClickWithoutRender="Copy"></ContextMenuItem>
        }
        @ChildContent
    </div>
</div>
